using YooAsset;
namespace Client.Base
{
    public class YAPackageInfo
    {
        static private YAPackageSetting setting;
        static public YAPackageSetting Setting
        {
            get
            {
                return setting;
            }
        }

        static public void SetPackageSetting(YAPackageSetting setting)
        {
            YAPackageInfo.setting = setting;
        }
    }

    public class YAPackageSetting
    {
        public YAPackage[] packages { get; set; } = new YAPackage[] { new YAPackage { packageName = "pk_game", isRaw = false }, new YAPackage { packageName = "pk_raw", isRaw = true } };
        public string remoteURL { get; set; }
        public string remoteVersion { get; set; }
    }

    public class YAPackage
    {
        public string packageName { get; set; }
        public bool isRaw { get; set; }
    }
}
